package com.quiz.bis.domain.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 学生考试活动视图对象
 */
@Data
public class StudentActivityVo {
    private String id;
    private String title;
    private Integer type; // 1-考试 2-测评 3-作业
    private Integer status; // 0-未发布 1-未开始 2-进行中 3-已结束

    private Date startTime;
    private Date endTime;
    private Integer timeLimit; // 分钟
    private Boolean needIdentity;
    private String configJson;

    // 试卷信息
    private BigDecimal paperTotalScore;
    private BigDecimal paperPassScore;
    private Long paperQuestionCount;

    // 学生参与状态
    private Boolean hasParticipated;
    private Integer participateStatus; // 0-未开始 1-进行中 2-已提交 3-超时提交 4-强制交卷
    private BigDecimal score;
    private Date submitTime;
}